home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 0195 / instal.xxx < prev    next >
Text File  |  1997-03-25  |  1KB  |  41 lines

  1. ECHO OFF
  2. IF EXIST setup.ex$ GOTO DEB
  3. ECHO "Current directory must be the drive or the directory"
  4. ECHO "containing installation files"
  5. GOTO FIN
  6. :DEB
  7. IF EXIST setup.exe GOTO FIN1
  8. copy cac1.txt xxxxxxxx.xxx
  9. IF NOT EXIST xxxxxxxx.xxx GOTO PROTECT
  10. del xxxxxxxx.xxx
  11. IF "%1"=="" GOTO DEF
  12. ECHO "Build setup.exe file"
  13. %1\expand setup.ex$ setup.exe
  14. IF NOT EXIST setup.exe GOTO ANORMAL
  15. copy cac1.txt readme.txt
  16. ECHO "Start installation step 1"
  17. ECHO ON
  18. %1\win setup.exe
  19. GOTO FIN
  20. :DEF
  21. ECHO "Build setup.exe file"
  22. c:\windows\expand setup.ex$ setup.exe
  23. IF NOT EXIST setup.exe GOTO ANORMAL
  24. copy cac1.txt readme.txt
  25. ECHO "Start installation step 1"
  26. :FIN1
  27. ECHO "To start installation step 2, launch setup.exe under Windows"
  28. ECHO "To continue, press a key"
  29. PAUSE
  30. ECHO ON
  31. c:\windows\win setup
  32. GOTO FIN
  33. :PROTECT
  34. ECHO "Floppy must not be write protected"
  35. GOTO FIN
  36. :ANORMAL
  37. ECHO "If Windows is not installed in c:\windows"
  38. ECHO "You have to provide the path where Windows is installed. For example :"
  39. ECHO "instal d:\windows"
  40. :FIN
  41.